Unix Interview Questions and Answers
Question: How can you get/set an environment variable from a program?:Answer: Getting the value of an environment variable is done by using `getenv()'. Setting the value of an environment variable is done by using `putenv()'. |
Is it helpful?
Yes
No
Most helpful rated by users:
- How are devices represented in UNIX?
- What is 'inode'?
- What difference between cmp and diff commands?
- Explain the steps that a shell follows while processing a command.
- Brief about the directory representation in UNIX